package com.qf.entity.dto;


import com.baomidou.mybatisplus.annotation.TableName;
import com.qf.entity.base.BaseDto;

import java.util.Date;

@TableName("goods")
public class Goods extends BaseDto {


  private String name;
  private long merchantUserId;
  private long goodsTypeId;
  private String pic;
  private String promoteDesc;
  private String skuTitle;
  private String skuCost;
  private String skuPrice;
  private String skuPmoney;
  private long orderNum;
  private long state;
  private Date createTime;


  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }


  public long getMerchantUserId() {
    return merchantUserId;
  }

  public void setMerchantUserId(long merchantUserId) {
    this.merchantUserId = merchantUserId;
  }


  public long getGoodsTypeId() {
    return goodsTypeId;
  }

  public void setGoodsTypeId(long goodsTypeId) {
    this.goodsTypeId = goodsTypeId;
  }


  public String getPic() {
    return pic;
  }

  public void setPic(String pic) {
    this.pic = pic;
  }


  public String getPromoteDesc() {
    return promoteDesc;
  }

  public void setPromoteDesc(String promoteDesc) {
    this.promoteDesc = promoteDesc;
  }


  public String getSkuTitle() {
    return skuTitle;
  }

  public void setSkuTitle(String skuTitle) {
    this.skuTitle = skuTitle;
  }


  public String getSkuCost() {
    return skuCost;
  }

  public void setSkuCost(String skuCost) {
    this.skuCost = skuCost;
  }


  public String getSkuPrice() {
    return skuPrice;
  }

  public void setSkuPrice(String skuPrice) {
    this.skuPrice = skuPrice;
  }


  public String getSkuPmoney() {
    return skuPmoney;
  }

  public void setSkuPmoney(String skuPmoney) {
    this.skuPmoney = skuPmoney;
  }


  public long getOrderNum() {
    return orderNum;
  }

  public void setOrderNum(long orderNum) {
    this.orderNum = orderNum;
  }


  public long getState() {
    return state;
  }

  public void setState(long state) {
    this.state = state;
  }


  public Date getCreateTime() {
    return createTime;
  }

  public void setCreateTime(Date createTime) {
    this.createTime = createTime;
  }

  public enum State{
    NON(0L,"未审核"),
    UP(1L,"已上架"),
    DOWN(2L,"已下架");

    Long code;
    String desc;

    State(Long code, String desc) {
      this.code = code;
      this.desc = desc;
    }

    public Long getCode() {
      return code;
    }

    public void setCode(Long code) {
      this.code = code;
    }

    public String getDesc() {
      return desc;
    }

    public void setDesc(String desc) {
      this.desc = desc;
    }
  }
}
